package com.company.dao;

import com.company.exception.DAOException;

public class CompanyDaoImpl extends AbstractDaoHib<Company> implements
		CompanyDao {

	@Override
	public Company save(Company company) throws DAOException {
		super.save(company);
		
		return company;
	}

	@Override
	public Company findById(long id) throws DAOException {		
		return (Company) super.find(Company.class, id); 
	}

}
